package com.nextStep.entity;

public class DbConfig {
    private String userid;
    private String dburl;
    private String dbusername;
    private String dbpassword;
    private String dbname;
    private String dbid;

    public DbConfig() {
    }

    public DbConfig(String userid, String dburl, String dbusername, String dbpassword,String dbname,String dbid) {
        this.userid = userid;
        this.dburl = dburl;
        this.dbusername = dbusername;
        this.dbpassword = dbpassword;
        this.dbname=dbname;
        this.dbid=dbid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getDburl() {
        return dburl;
    }

    public void setDburl(String dburl) {
        this.dburl = dburl;
    }

    public String getDbusername() {
        return dbusername;
    }

    public void setDbusername(String dbusername) {
        this.dbusername = dbusername;
    }

    public String getDbpassword() {
        return dbpassword;
    }

    public void setDbpassword(String dbpassword) {
        this.dbpassword = dbpassword;
    }

    public String getDbname() {
        return dbname;
    }

    public void setDbname(String dbname) {
        this.dbname = dbname;
    }

    public String getDbid() {
        return dbid;
    }

    public void setDbid(String dbid) {
        this.dbid = dbid;
    }

    @Override
    public String toString() {
        return "DbConfig{" +
                "userid='" + userid + '\'' +
                ", dburl='" + dburl + '\'' +
                ", dbusername='" + dbusername + '\'' +
                ", dbpassword='" + dbpassword + '\'' +
                ", dbname='" + dbname + '\'' +
                ", dbid='" + dbid + '\'' +
                '}';
    }
}
